Skip to content

Added plugin WaveshareUPS#1356

Merged
jneilliii merged 6 commits into
OctoPrint:gh-pagesfrom
michaelszubartowicz:gh-pages
Apr 1, 2025
Merged

Added plugin WaveshareUPS#1356
jneilliii merged 6 commits into
OctoPrint:gh-pagesfrom
michaelszubartowicz:gh-pages

Conversation

@michaelszubartowicz
Copy link
Copy Markdown
Contributor

This plugin adds a navbar icon to read out the Waveshare UPS HAT.

Copy link
Copy Markdown
Contributor

@jneilliii jneilliii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a couple of small adjustments. please update the date and in your plugin, you need to add daemon=True to your Thread here. If you don't do this, when you try to restart/shutdown OctoPrint it can get in the way of the process.

Comment thread _plugins/WaveshareUPS.md Outdated
@github-project-automation github-project-automation Bot moved this to In Progress in OctoPrint Backlog Mar 23, 2025
@jneilliii
Copy link
Copy Markdown
Contributor

curious also, @michaelszubartowicz if you need to add any instructions for enabling I2C, etc. from the system level?

@michaelszubartowicz
Copy link
Copy Markdown
Contributor Author

curious also, @michaelszubartowicz if you need to add any instructions for enabling I2C, etc. from the system level?

Yes, you are right. I have added this requirement to the readme as well as the md-file of this pull request.

@jneilliii
Copy link
Copy Markdown
Contributor

Your tagged release needs to match the version number in setup.py. setup.py is showing 0.1.1 but your release tag is V1.0-rc2.

image

@michaelszubartowicz
Copy link
Copy Markdown
Contributor Author

michaelszubartowicz commented Mar 24, 2025

Your tagged release needs to match the version number in setup.py. setup.py is showing 0.1.1 but your release tag is V1.0-rc2.

image

that was a typo, thanks for pointing it out, new tag is now V0.1-rc3

@michaelszubartowicz
Copy link
Copy Markdown
Contributor Author

@jneilliii no pressure, but is there anything else I can do before this merge request can go through?

@jneilliii
Copy link
Copy Markdown
Contributor

It's still wrong.

image

The tag should match the release version in setup.py, which is still showing 0.1.1.

https://github.com/michaelszubartowicz/OctoPrint-WaveshareUPS/blob/main/setup.py#L17

So, delete the release, create a new release with tag 0.1.1 and we should be ready to go. Future updates on the plugin should follow that same strategy for the update hook to function properly.

@michaelszubartowicz
Copy link
Copy Markdown
Contributor Author

It's still wrong.

image

The tag should match the release version in setup.py, which is still showing 0.1.1.

https://github.com/michaelszubartowicz/OctoPrint-WaveshareUPS/blob/main/setup.py#L17

So, delete the release, create a new release with tag 0.1.1 and we should be ready to go. Future updates on the plugin should follow that same strategy for the update hook to function properly.

Thank you for this clarification, I did not know how the update hook works. I did as suggested, the new release is now V0.1.1

@jneilliii jneilliii merged commit 1ae4b20 into OctoPrint:gh-pages Apr 1, 2025
4 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OctoPrint Backlog Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants